package appapi.dto;

import appapi.common.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author djq
 * @date 2023/6/3 15:01
 * @description:
 */
@Data
@ApiModel(value = "新增一条整改")
public class AddRectifDto extends BaseEntity {
    /**
     * 发现人
     */
    @ApiModelProperty(value = "发现人")
    private Integer operId;

    /**
     * 发现人
     */
    @ApiModelProperty(value = "创建人名称")
    private String operName;

    /**
     * 发现人
     */
    @ApiModelProperty(value = "设备id")
    private Long equipId;

    /**
     * 整改要求
     */
    @ApiModelProperty(value = "整改要求")
    private String rectRequire;

    /**
     * 整改明细
     */
    @ApiModelProperty(value = "整改明细")
    private List<AddRectDetailDto> rectDetails;


    /**
     * 附件
     */
    @ApiModelProperty(value = "附件")
    private List<String> annexUrl;
}
